<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的钱包 - 外卖APP</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
    <style>
        body {
            margin: 0;
            padding: 0;
            background: #f5f5f5;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            color: #333;
        }
        .phone-container {
            width: 390px;
            height: 844px;
            margin: 20px auto;
            background: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            border-radius: 40px;
        }
        .content {
            height: 100%;
            overflow-y: auto;
            background-color: #f8f9fa;
        }
        .header {
            background: #0095ff;
            color: white;
            padding: 16px;
            position: sticky;
            top: 0;
            z-index: 100;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .back-btn {
            color: white;
            text-decoration: none;
            font-size: 20px;
            display: flex;
            align-items: center;
        }
        .header-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
            flex-grow: 1;
            text-align: center;
            margin-right: 24px;
        }
        .balance-card {
            background: white;
            margin: 15px;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }
        .balance-label {
            color: #666;
            font-size: 14px;
            margin-bottom: 10px;
        }
        .balance-amount {
            font-size: 32px;
            font-weight: 600;
            color: #333;
            margin-bottom: 15px;
        }
        .recharge-btn {
            background: #0095ff;
            color: white;
            border: none;
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .recharge-btn:hover {
            background: #0085e5;
        }
        .wallet-tabs {
            background: white;
            display: flex;
            padding: 0 15px;
            border-bottom: 1px solid #f0f0f0;
            position: sticky;
            top: 56px;
            z-index: 99;
        }
        .wallet-tab {
            padding: 15px 0;
            margin: 0 15px;
            font-size: 14px;
            color: #666;
            border-bottom: 2px solid transparent;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .wallet-tab.active {
            color: #0095ff;
            border-bottom-color: #0095ff;
        }
        .coupon-list {
            padding: 15px;
        }
        .coupon-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
            display: flex;
            overflow: hidden;
        }
        .coupon-left {
            background: #0095ff;
            color: white;
            padding: 15px;
            width: 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .coupon-left::after {
            content: '';
            position: absolute;
            right: -8px;
            top: 0;
            bottom: 0;
            width: 16px;
            background-image: radial-gradient(circle at 0 50%, transparent 8px, white 8px);
            background-size: 16px 16px;
            background-repeat: repeat-y;
        }
        .coupon-amount {
            font-size: 24px;
            font-weight: bold;
        }
        .coupon-limit {
            font-size: 12px;
            opacity: 0.8;
        }
        .coupon-right {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .coupon-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 5px;
        }
        .coupon-date {
            font-size: 12px;
            color: #999;
        }
        .coupon-use {
            color: #0095ff;
            font-size: 13px;
            align-self: flex-end;
        }
        .empty-state {
            text-align: center;
            padding: 40px 15px;
            color: #999;
        }
        .empty-state i {
            font-size: 48px;
            color: #ccc;
            margin-bottom: 15px;
        }
        .empty-text {
            font-size: 14px;
        }
    </style>
</head>
<body>
    <div class="phone-container">
        <div class="content">
            <div class="header">
                <a href="user.html" class="back-btn">
                    <i class="bi bi-chevron-left"></i>
                </a>
                <h1 class="header-title">我的钱包</h1>
            </div>

            <div class="balance-card">
                <div class="balance-label">账户余额</div>
                <div class="balance-amount">¥0.00</div>
                <button class="recharge-btn">立即充值</button>
            </div>

            <div class="wallet-tabs">
                <div class="wallet-tab active">优惠券(0)</div>
                <div class="wallet-tab">红包(0)</div>
                <div class="wallet-tab">交易记录</div>
            </div>

            <!-- 优惠券列表 -->
            <div class="coupon-list">
                <div class="empty-state">
                    <i class="bi bi-ticket-perforated"></i>
                    <div class="empty-text">暂无可用优惠券</div>
                </div>

                <!-- 优惠券示例（当有优惠券时显示） -->
                <div class="coupon-item" style="display: none;">
                    <div class="coupon-left">
                        <div class="coupon-amount">¥5</div>
                        <div class="coupon-limit">满30可用</div>
                    </div>
                    <div class="coupon-right">
                        <div>
                            <div class="coupon-title">新用户专享券</div>
                            <div class="coupon-date">有效期至：2024-12-31</div>
                        </div>
                        <div class="coupon-use">去使用</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 